package Jdbc;
import java.util.List;
public class SubjectDaoTest {
    public static void main(String[] args) {
        SubjectDao sub=new SubjectDao();
//        Subject s=new Subject(100,"dao",30,3);
//        Subject s=new Subject(100);
//        sub.add(s);
//        List<Subject> list=sub.findid(1);
        List<Subject>list=sub.find(10,3);
        System.out.println(list);
    }
}
